package com.wdmblog.controller;

import com.wdmblog.feigin_interface.SysUserFeigin;
import com.wdmblog.modes.upms.SysUser;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 系统用户 前端控制器
 * </p>
 *
 * @author jobob
 * @since 2019-01-24
 */
@RestController
@RequestMapping("/upms/sys-user")
public class SysUserController extends BaseController {
    @Resource
    private SysUserFeigin sysUserFeigin;

    @ResponseBody
    @RequestMapping("/selectAll")
    public List<SysUser> selectAll() throws Exception{
        return sysUserFeigin.selectAll();
    }
}
